﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PhysicalProperties.aspx.cs" Inherits="Admin_Physprops" Title="Admin ~ Physical properties" %>

<%@ Register src="../Usercontrols/Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="../Usercontrols/Menu1.ascx" tagname="Menu1" tagprefix="uc2" %>
<%@ Register src="../Usercontrols/Footer.ascx" tagname="Footer" tagprefix="uc3" %>

<%@ Register src="../Usercontrols/Menu2.ascx" tagname="Menu2" tagprefix="uc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table cellpadding="0" cellspacing="0" width="100%">
    <tr>         
        <td align="center" >
           <table cellpadding="0" cellspacing="0" width="900px" >
             
              <tr>
                 <td align="center"  valign="top"> 
                     <uc1:Header ID="Header1" runat="server" />
                 </td>
              </tr>
               
              <tr>
                    <td align="right">
                        <uc2:Menu1 ID="Menu11" runat="server" />
                    </td>
               </tr>
                    
              <tr>
                   <td align="center" valign="top" >        
                     
                     <table cellpadding="5" cellspacing="0" width="100%" class="mainTableBkg">
                        
                        <tr valign="top" align="left">
                            <td>
                                    <table >
                                                                                             
                                               <tr valign="top" align="left" >                                    
                                                                <td> 
                                                                    <table>
                                                                        <tr>
                                                                             <td class="adminHeading">PHYSICAL&nbsp; PROPERTIES</td>
                                                                             <td align="right" ><asp:Label ID="lblMessage" CssClass="messageLabel" runat="server"></asp:Label></td>
                                                                             <td align="right" ><asp:Label ID="lblExpdetails" runat="server" CssClass="informationLabe"></asp:Label></td> 
                                                                         </tr>
                                     
                                                                    </table>
                                                                </td>
                                                 </tr>   
                                                            
                                              <tr id="trTextBoxPhysicalProperties" runat="server" >
                         <td>
                            <table >
                            
                                <tr class="ashBkg" Id="trConId" visible="false" runat="server" >
                                     <td class='label' style="width: 21px">PhysicalproId</td>
                                     <td style="height: 25px; width: 800px;"><asp:TextBox ID="txtPhysicalProId" runat="server" cssclass='textBox' Width='250px' MaxLength="50"></asp:TextBox></td>
                                </tr>                                    
                                               
                                  <tr class="ashBkg">
                                   <td colspan="2">
                                        <table >
                                             <tr>
                                                <td class='label' style="height: 23px">Length1 (mm) </td>
                                                <td style="height: 23px"> <asp:TextBox ID="txtLength1" runat="server" cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                <td class='label'>Length2 (mm)</td>
                                                <td><asp:TextBox ID="txtLength2" runat="server" cssclass='textBox'  Width='45px' MaxLength="100"></asp:TextBox></td>
                                                <td class='label' style="height: 22px">Length3 (mm)</td>
                                                <td style="height: 22px"> <asp:TextBox ID="txtLength3" runat="server" cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                            </tr>
                                        </table>
                                    </td>                            
                                </tr>
                                    
                                  <tr class="altanateAshBkg">
                            <td colspan="2">
                                <table >
                                    <tr>
                                        <td></td>
                                        <td class="label"> Diameter&nbsp; (mm)</td>
                                        <td class="label">Moisture (wt%)</td>
                                    </tr>
                                    <tr>
                                        <td class="label"> Minimum</td>
                                        <td><asp:TextBox CssClass="textBox" ID="txtDiamterMin" runat="server" ></asp:TextBox></td>
                                        <td><asp:TextBox CssClass="textBox" ID="txtMoistureMin" runat="server" ></asp:TextBox></td>
                                    </tr>
                                     <tr>
                                        <td class="label"> Maximum</td>
                                        <td><asp:TextBox CssClass="textBox" ID="txtDiamterMax" runat="server" ></asp:TextBox></td>
                                        <td><asp:TextBox CssClass="textBox" ID="txtMoistureMax" runat="server" ></asp:TextBox></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        
                                   <tr class="ashBkg">
                             <td style="height: 10px" colspan="2"> 
                                <table >
                                    <tr>
                                        <td>
                                        <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/btnSave.jpg" onclick="btnSave_Click1" />
                                         <td><asp:Button ID="btnPrevious" Text="PreviousRecord" runat="server" 
                                                 CssClass="button" onclick="btnPrevious_Click" /></td>
                                        </td>
                                    </tr>
                                </table>
                                 
                            </td>
                           
                        </tr>    
                            </table>  
                        </td>
                     </tr> 
                      
                                  
                                              <tr id="trDgPhysicalProperties" runat="server">
                                    <td align="left" style="padding-left:5px;" colspan='2'>
                                        <asp:GridView  AllowSorting="true" AutoGenerateEditButton="true" 
                                            AllowPaging="true" AutoGenerateColumns="false" ID="dgPhysicalprops" 
                                            runat="server" onrowediting="dgPhysicalprops_RowEditing"  
                                            onpageindexchanging="dgPhysicalprops_PageIndexChanging" Width="882px">
                                            <Columns>                                            
                                                <asp:BoundField  DataField="id" HeaderText="Id"/>
                                                <asp:BoundField  DataField="diam_min" HeaderText="DiamMin" />
                                                <asp:BoundField  DataField="diam_max" HeaderText="DiamMax"/>
                                                <asp:BoundField  DataField="length1" HeaderText="length1" />
                                                <asp:BoundField  DataField="length2" HeaderText="length2" />
                                                <asp:BoundField  DataField="length3" HeaderText="length3"/>
                                                <asp:BoundField  DataField="pred_diam" HeaderText="Pred_diam" />
                                                <asp:BoundField  DataField="moisture_min" HeaderText="Moisture_Min" />
                                                <asp:BoundField  DataField="moisture_max" HeaderText="Moisture_Max"/>
                                            </Columns>
                                            <HeaderStyle CssClass="gridHeading" />
                                            <AlternatingRowStyle CssClass="gridAltRowStyleStyle" />                                                                                        
                                            <RowStyle CssClass="gridRowStyle" />                                                                                       
                                            <PagerStyle />
                                            <EditRowStyle CssClass="gridEditRow" />                                     
                                        </asp:GridView>
                                    </td>
                                </tr> 
                                                   
                       
                           
                                    </table>
                            </td>
                        </tr>               
                         
                     </table>
                     
                   </td>        
                </tr>  
                                                   
              <tr>
                        <td>    
                            <uc3:Footer ID="Footer1" runat="server" />
                        </td>
                   </tr> 
                    
             </table>
           </td> 
      </tr>
 </table> 
</asp:Content>

